﻿using PlutoStudio.Events.Bus;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PlutoStudio.Domain.Entities
{
    public abstract class AggregateRoot:AggregateRoot<int>,IAggregateRoot
    {
    }

    public abstract class AggregateRoot<TPrimaryKey> :Entity<TPrimaryKey>, IAggregateRoot<TPrimaryKey>
    {
        
        public virtual ICollection<IEventData> DomainEvents { get; }

    }
}
